<header th:fragment="head" class="head-town-con box-shadows relative">
    <div class="layui-header">
        <div class="layui-logo layui-logo-one green fb">安亭养老</div>
        <ul class="layui-nav layui-layout-left layui-layout-left-color">
            <li th:each="app,appstat:${appList}" class="layui-nav-item">
                <a href="javascript:void(0)" th:onclick="getMenu([[${app.menu_no}]])"  th:attr="data-no=${app.menu_no}"  th:class="${app.menu_no==initMenu}?'current':''" th:text="${app.name}"></a>
            </li>
        </ul>
        <!-- 头部区域（可配合layui已有的水平导航） -->
        <ul class="layui-nav layui-layout-right">
            <li class="layui-form left">
                <div id="agedHome" class="index-prompt-select layui-input-block">
                    <select  id="selectAgedHome" name="agedHome" lay-filter="pensionFilter"  lay-verify="required">
                        <option th:each="pension,status:${pensionList}" th:selected="${status.index}==0"  th:value="${pension['orgId']}" th:text="${pension['name']}"></option>
                    </select>
                </div>
            </li>
            <li class="layui-nav-item">
                <a href="javascript:;"><img th:if="not ${#strings.isEmpty(userPhoto)}" style="width:50px;height:50px;"th:src="${userPhoto}" class="layui-nav-img"><img th:if="${#strings.isEmpty(userPhoto)}" th:src="${#request.getContextPath()}+'/static/img/tx.png'" class="layui-nav-img">[[${userName}]]</a>
<!--                <dl class="layui-nav-child">-->
<!--                    <dd>-->
<!--                        <a href="">基本资料</a>-->
<!--                    </dd>-->
<!--                    <dd>-->
<!--                        <a href="">安全设置</a>-->
<!--                    </dd>-->
<!--                </dl>-->
            </li>
            <li class="layui-nav-item icon-quit">
                <a id="loginOut" href="javascript:void(0)"><img th:src="${#request.getContextPath()}+'/static/img/icon_quit.png'">安全退出</a>
            </li>
        </ul>
    </div>
</header>